<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    let objValue = {
        detil: {
            name: '张三',
            age: 18,
            sex: '男',
            like:{
                like1:'大球',
                like2:'小球',
            }
        },
        test:'测试',
    }

    function name({detil}) {
               console.log(detil);
    }
    name(objValue)
</script>

</html>